package com.cch.cooperation.api.zone.dto;

import com.cch.cooperation.dao.file.dto.FileDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ZoneRemindAddDTO {

    @ApiModelProperty(value = "空间id", required = true)
    @NotEmpty(message = "空间id不能为空")
    private String zoneId;

    @ApiModelProperty(value = "提醒内容", required = true)
    @NotEmpty(message = "提醒内容不能为空")
    private String content;

    @ApiModelProperty(value = "提醒用户id集合")
    private List<String> remindUserIds;

    @ApiModelProperty(value = "完成方式（1.单人 2.多人）")
    private Integer completeMode;

    @ApiModelProperty("重要等级(0.不重要不紧急 1.紧急不重要 2.重要不紧急3.重要且紧急)")
    private Integer level;

    @ApiModelProperty("提醒时间，单次提醒时包含年月日时分秒")
    private String remindTime;

    @ApiModelProperty(value = "提醒类型(1.单次 2.每日 3.每周 4.每月 5.空闲)", required = true)
    @NotNull(message = "提醒类型不能为空")
    private Integer repeatType;

    @ApiModelProperty(value = "是否生成记录")
    private Boolean needRecord;

    @ApiModelProperty(value = "是否需要拍照")
    private Boolean needTakePicture;

    @ApiModelProperty("是否需要水印信息 - 含（地址，时间，打卡时间，验证真实的水印）")
    private Boolean needWaterMark;

    @ApiModelProperty("事项文件信息")
    private List<FileDTO> files;

    @ApiModelProperty(value = "创建人id", hidden = true)
    @NotEmpty(message = "创建人id不能为空")
    private String createUserId;

}
